package com.rickpan.dto.share;

import java.time.LocalDateTime;

/**
 * 分享访问日志响应DTO
 */
public class ShareAccessLogResponse {
    private Long id;
    private Long shareId;
    private String ipAddress;
    private String userAgent;
    private String actionType;
    private LocalDateTime accessTime;

    public ShareAccessLogResponse() {}

    public ShareAccessLogResponse(Long id, Long shareId, String ipAddress, String userAgent, 
                                String actionType, LocalDateTime accessTime) {
        this.id = id;
        this.shareId = shareId;
        this.ipAddress = ipAddress;
        this.userAgent = userAgent;
        this.actionType = actionType;
        this.accessTime = accessTime;
    }

    // Getters and Setters
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public Long getShareId() { return shareId; }
    public void setShareId(Long shareId) { this.shareId = shareId; }

    public String getIpAddress() { return ipAddress; }
    public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; }

    public String getUserAgent() { return userAgent; }
    public void setUserAgent(String userAgent) { this.userAgent = userAgent; }

    public String getActionType() { return actionType; }
    public void setActionType(String actionType) { this.actionType = actionType; }

    public LocalDateTime getAccessTime() { return accessTime; }
    public void setAccessTime(LocalDateTime accessTime) { this.accessTime = accessTime; }
}
